package com.ufm.user.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.ufm.user.pojo.User;



public interface IUserService {
	public List<User> findAll(Map param);
	public int findAllCount(Map param);
	public User findUserById(long id);
	public User insert(User user);
	public void delete(long id);
	public void deleteMore(String[] ids,HttpServletRequest request);
	public User findByName(String name);
	public void update(User user);
	public void updatePwd(User user);
	public List<String> findAllEmail();
	public List<String> findAllUserLogin();
	public List<String> hasRight(String userLoginName);
	public List<User> findByDept(int deptId);
	public String getGunDongBoBao();
	public int hasOneRight(Map params);
	public List<User> getUserIdAndName(Map params);
	public List<User> findAllConAdmin(Map param);
	public int isAdmin(long id);
	public int isSelectAllRoles(long id);
	public void registMore(String[] ids,HttpServletRequest request);
}
